<?php

namespace Custom\Common;

class ExamEnum {

    const XiaoXue = '小学';
    const ChuZhong = '初中';
    const GaoZhong = '高中';

    public static function getGrades()
    {
        return array(
            self::GaoZhong => '高中',
            self::ChuZhong => '初中',
            self::XiaoXue => '小学'
        );
    }

    const Chinese = '语文';
    const Math = '数学';
    const English = '英语';
    const Physics = '物理';
    const Chemistry = '化学';
    const Biology = '生物';
    const Politics = '政治';
    const History = '历史';
    const Geography = '地理';

    public static function getSubjects()
    {
        return array(
            self::Chinese => '语文',
            self::Math => '数学',
            self::English => '英语',
            self::Physics => '物理',
            self::Chemistry => '化学',
            self::Biology => '生物',
            self::Politics => '政治',
            self::History => '历史',
            self::Geography => '地理'
        );
    }

} 